<div id="login" style="width: 400px;height: 238px;position: absolute;left: 50%;top: 50%;margin-left: -200px;margin-top: -190px">
    <div class="data">
        <div style="text-align: center">
            <img  src="{{commonService.getRequestProUrl()}}/static/images/logo.png">
        </div>
        <div style="text-align: center;font-size: 24px;margin-bottom: 20px;margin-top:20px;color: white">
            管理平台
        </div>

        <div class="input-group" style="margin-bottom: 20px">
            <span class="input-group-addon"><span class=" fa fa-user" style="width: 14px"></span> </span>
            <input type="text" class="form-control inputData" placeholder="请输入账号" [(ngModel)]="loginForm.username"
                   style="height: 50px;line-height: 50px">

        </div>
        <div class="input-group" style="margin-bottom: 20px">
            <span class="input-group-addon"><span class=" fa fa-lock" style="width: 14px"></span> </span>
            <input type="password" class="form-control inputData" placeholder="请输入密码" [(ngModel)]="loginForm.password" (keyup.enter)="login()"
                   style="height: 50px;line-height: 50px">
        </div>
        <div class="form-group">
            <button class="btn btn-primary" style="width: 100%;height: 50px;" (click)="login()"
            >登录</button>
        </div>

    </div>
</div>
<img src="{{commonService.getRequestProUrl()}}/static/images/bg_login.jpg" style="position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0px;z-index: -1">